
        <title>{$pagetitle}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/jquery.base64.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/main.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/m97/WdatePicker.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/jquery.colorbox.js"></script>
        <script type="text/javascript" src="__PUBLIC__/js/member.js"></script>
        <link rel="stylesheet" href="__PUBLIC__/css/colorbox.css" type="text/css" />
        <link rel="stylesheet" href="__PUBLIC__/css/style.css" type="text/css" />
        <link rel="stylesheet" href="__PUBLIC__/css/commonstyle.css" type="text/css" />
        <link rel="stylesheet" href="__PUBLIC__/css/app_list.css" type="text/css" />
        <script type="text/javascript">
            $(function () {
                function setHeight() {
                    var nHeight = $('.container').height() + 'px';
                    var brsHeight = $(window).height() - 176 + 'px';
                    var mainHeight = parseInt(brsHeight) + 'px';
                    if (parseInt(nHeight) < parseInt(brsHeight)) {
                        $('.left,.left .tabs').css({'height': mainHeight});
                    } else if (parseInt(nHeight) >= parseInt(brsHeight)) {
                        $('.left,.left .tabs').css({'height': nHeight});
                    }
                }
                window.onload = function () {
                    setHeight();
                };
                window.onresize = function () {
                    setHeight();
                }

                $('.th_list li:odd').css('background', '#f9f9f9');
                $('.th_list li .t1 .qes').mouseover(function (e) {
                    var top = $(this).position().top + 14 + 'px';
                    var left = e.clientX + 14 + 'px';
                    $(this).next('.tsDiv').css({top: top, left: left}).show();
                }).mouseout(function () {
                    $('.tsDiv').hide();
                }).mousemove(function (e) {
                    var top = $(this).position().top + 14 + 'px';
                    var left = e.clientX + 14 + 'px';
                    $(this).next('.tsDiv').css({top: top, left: left}).show();
                });

                var appErrorMsg = "";
                if (appErrorMsg != undefined && appErrorMsg != "" && appErrorMsg != null) {
                    alert(appErrorMsg);
                }
            });


            function editApp(appId) {
                appForm.action = "/member/app/toAppEdit?appId=" + appId;
                appForm.submit();
                appForm.action = "/member/app/view";
            }

            function applyOnlineApp(appId) {
                $.colorbox({href: "/member/app/applyOnline?appId=" + appId + "&randStr=" + Math.random(), title: "申请上线"});
            }

            function resumeApp(appId) {
                if (confirm("确认恢复该应用?")) {
                    appForm.action = "/member/app/regainApp?appId=" + appId + "&randStr=" + Math.random();
                    appForm.submit();
                }
            }

            function suspendApp(appId) {
                $.colorbox({href: "/member/app/toSuspend?appId=" + appId + "&randStr=" + Math.random(), title: "暂停应用"});
            }

            function delApp(appId) {
                $.colorbox({href: "/member/app/toAppDel?appId=" + appId + "&randStr=" + Math.random(), title: "删除应用"});
            }

            function fn_focus(ele) {
                var reg = /^[\s]*$/;
                ele.style.border = 'solid 1px rgb(2,185,239)';
                if (ele.value == '应用名称') {
                    ele.value = '';
                    ele.style.color = 'rgb(51,51,51)';
                }
            }
            function fn_blur(ele) {
                var reg = /^[\s]*$/;
                ele.style.border = 'solid 1px rgb(213,213,213)';
                if (reg.test(ele.value) || ele.value == ele.defaultValue) {
                    ele.value = ele.defaultValue;
                    ele.style.color = 'rgb(159,159,159)';
                }
            }
        </script>